<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>小糊涂微服务统一认证</title>
    <link href="/css/bootstrap.min.css" rel="stylesheet">
    <link href="/css/index.css" rel="stylesheet">
</head>

<body class="bg-img">
<div class="container form-margin-top">
    <form class="form-container" action="/auth/form" method="post">
        <h2 class="form-container-heading" align="center">小糊涂统一认证系统</h2>
        <input type="hidden" name="client_id" class="form-control" value="xht" placeholder="所属客户端">
        <input type="hidden" name="grant_type" class="form-control" value="password" placeholder="所属客户端">
        <input type="text" name="username" class="form-control form-margin-top" placeholder="账号" value="admin" required autofocus>
        <input type="password" name="password" class="form-control" placeholder="密码" value="admin" required>
        <button class="btn btn-lg btn-primary btn-block" type="submit" id="submit">sign in</button>
        <#if error??>
            <span style="color: red; ">${error}</span>
        </#if>
    </form>
</div>
</body>
</html>
